import { _decorator, Component, Node } from 'cc';
import { audioManager } from '../../ccc3-framework-core/framework/modules/audioManager';
import { BaseObject } from '../../ccc3-framework-core/framework/modules/baseObject';
import { entityUtil } from '../../ccc3-framework-core/framework/modules/entityUtil';
import { memoryConfig } from '../../ccc3-framework-core/framework/modules/memoryConfig';
import { uiManager } from '../../ccc3-framework-core/framework/modules/uiManager';
import Common from '../../ccc3-framework-core/utils/Common';
import { BundlesDefine, formDefine, pathDefine } from '../CustomDefine';
const { ccclass, property } = _decorator;

@ccclass('gameTooltip')
export class gameTooltip extends BaseObject {

    start() {
        this.bindTouchEnd(this.node, this.onBackHome);
    }
    private onBackHome() {
        uiManager.pushUIForm(pathDefine.formDir + formDefine.tooltipForm, null, BundlesDefine.main);
    }

    update(deltaTime: number) {

    }
}

